import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;

import java.io.File;
import java.io.IOException;

public class test {

    // 读取xls文件路径
    static String pathname = "E:\\yg\\xlsx\\YG13-2 上海营 我想对你说的悄悄话.xls";
    public static void main(String[] args) throws BiffException, IOException {
//        File file = new File(pathname);
//        Workbook workbook = Workbook.getWorkbook(file);
//        Sheet sheet = workbook.getSheet(0);
//        Cell cell = sheet.getCell(3, 28);
//        String contents = cell.getContents();
        String contents = "开心这一程一起度过，希望你能有所收获❤️我给拒绝了\uD83D\uDE45 ，下次咱俩约定好了一起参加！";
        System.out.println(contents);
        String s = EmojiFilter.filterEmoji(contents);
        System.out.println(s);

    }
}
